package com.hq.service;

import com.hq.dao.CompanyDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Resource
    private CompanyDAO companyDAO;
    @Override
    public List companyList() {
        return companyDAO.companyList();
    }
}
